.class public Lcom/nemustech/regina/ElementAppList;
.super Lcom/nemustech/regina/Element;
.source "ElementAppList.java"


# static fields
.field private static final ANIMATION_NONE_APPLIST:I = 0x1

.field private static final ANIMATION_NONE_WORKSPACE:I = 0x0

.field private static final ANIMATION_TIME_OF_APPLIST:I = 0x190

.field private static final ANIMATION_TIME_OF_APPLIST_FADE:I = 0xc8

.field private static final ANIMATION_TIME_OF_WORKSPACE:I = 0xc8

.field private static final ANIMATION_TIME_OF_WORKSPACE_RETURN:I = 0xfa

.field private static final ANIMATION_TIME_REAL_WORKSPACE_GREETING:I = 0x64

.field private static final ANIMATION_TO_APPLIST:I = 0x1

.field private static final ANIMATION_TO_WORKSPACE:I = 0x2

.field private static final APPLIST_VIEW_APPLIST_INDICATOR_Z:F = 0.0f

.field private static final APPLIST_VIEW_APPLIST_Z:F = 0.0f

.field private static final APPLIST_VIEW_WORKSPACE_THUMB_Z:F = -4.0f

.field private static final COL_IN_APPLIST:I = 0x4

.field static final DEBUG_MOVE:Z = false

.field private static final FOG_END:F = -6.0f

.field private static final FOG_START:F = -0.5f

.field private static final MOVE_DURATION:I = 0xc8

.field private static final PSEUDO_ZERO:F = -0.1f

.field private static final REPOSITION_DURATION:I = 0xc8

.field private static final ROW_IN_APPLIST:I = 0x4

.field private static final TAG:Ljava/lang/String; = "ElementAppList"

.field private static final WORKSPACE_VIEW_APPLIST_INDICATOR_Z:F = 3.0f

.field private static final WORKSPACE_VIEW_APPLIST_Z:F = 3.0f

.field private static final WORKSPACE_VIEW_WORKSPACE_THUMB_Z:F


# instance fields
.field public final FULL_LIMIT_ANGLE:F

.field public final HALF_LIMIT_ANGLE:F

.field private final LIMIT_AMOUNT:F

.field private final THRESHOLD_FLICK_TICK:J

.field public mAccumulatedScrolledAmount:F

.field private mAddReflectingFloor:Z

.field private mAnimationState:I

.field private mAppListHolder:Lcom/nemustech/regina/AppListHolder;

.field private mAppListImageMaker:Lcom/nemustech/regina/AppListImageMaker;

.field private mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

.field private mAppListProvider:Lcom/nemustech/regina/AppListProvider;

.field mAppListShiftListener:Lcom/nemustech/tiffany/world/TFHolder$OnObjectShiftListener;

.field private mAppListWidth:F

.field private mDataSetObserver:Landroid/database/DataSetObserver;

.field private mElementLocator:Lcom/nemustech/regina/ElementLocator;

.field private mElementMaker:Lcom/nemustech/regina/ElementMaker;

.field private mHandler:Landroid/os/Handler;

.field private mIsRequestClose:Z

.field private mLastScrolled:F

.field protected mLastShiftTick:J

.field private mLastWarpIndex:I

.field private mLongPressedFlag:Z

.field private mReadyForFullLeaning:Z

.field private mReflectionOffset:F

.field private mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

.field private mReturnToWorkspaceFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

.field private mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mSelectedPanelHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

.field private mShortCutHeight:F

.field private mShortCutWidth:F

.field private mTotalTFUnitScrolled:F

.field mWarpListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

.field private mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncher;)V
    .locals 11
    .parameter "reginaLauncher"

    .prologue
    const/4 v6, 0x0

    const/4 v10, 0x1

    const/4 v9, 0x4

    const/4 v8, 0x0

    .line 92
    invoke-direct {p0}, Lcom/nemustech/regina/Element;-><init>()V

    .line 57
    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    .line 58
    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->mLastScrolled:F

    .line 59
    const/high16 v6, 0x3f80

    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    .line 61
    iput v8, p0, Lcom/nemustech/regina/ElementAppList;->mLastWarpIndex:I

    .line 84
    const/high16 v6, 0x41c8

    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->HALF_LIMIT_ANGLE:F

    .line 85
    const/high16 v6, 0x4220

    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->FULL_LIMIT_ANGLE:F

    .line 86
    const v6, 0x3fc90fdb

    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->LIMIT_AMOUNT:F

    .line 87
    const-wide/16 v6, 0x3e8

    iput-wide v6, p0, Lcom/nemustech/regina/ElementAppList;->THRESHOLD_FLICK_TICK:J

    .line 89
    const-wide/16 v6, 0x0

    iput-wide v6, p0, Lcom/nemustech/regina/ElementAppList;->mLastShiftTick:J

    .line 90
    iput-boolean v8, p0, Lcom/nemustech/regina/ElementAppList;->mReadyForFullLeaning:Z

    .line 180
    new-instance v6, Lcom/nemustech/regina/ElementAppList$1;

    invoke-direct {v6, p0}, Lcom/nemustech/regina/ElementAppList$1;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mDataSetObserver:Landroid/database/DataSetObserver;

    .line 274
    new-instance v6, Lcom/nemustech/regina/ElementAppList$2;

    invoke-direct {v6, p0}, Lcom/nemustech/regina/ElementAppList$2;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReturnToWorkspaceFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 531
    new-instance v6, Lcom/nemustech/regina/ElementAppList$4;

    invoke-direct {v6, p0}, Lcom/nemustech/regina/ElementAppList$4;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListShiftListener:Lcom/nemustech/tiffany/world/TFHolder$OnObjectShiftListener;

    .line 720
    new-instance v6, Lcom/nemustech/regina/ElementAppList$6;

    invoke-direct {v6, p0}, Lcom/nemustech/regina/ElementAppList$6;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mWarpListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

    .line 93
    invoke-virtual {p1}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v5

    .line 94
    .local v5, world:Lcom/nemustech/tiffany/world/TFWorld;
    iput-object p1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    .line 96
    new-instance v6, Landroid/os/Handler;

    invoke-direct {v6}, Landroid/os/Handler;-><init>()V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mHandler:Landroid/os/Handler;

    .line 97
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaLauncher;->getElementMaker()Lcom/nemustech/regina/ElementMaker;

    move-result-object v6

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mElementMaker:Lcom/nemustech/regina/ElementMaker;

    .line 98
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v6

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    .line 100
    new-instance v6, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-direct {v6, v10}, Lcom/nemustech/tiffany/world/TFPlaceHolder;-><init>(Z)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    .line 101
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const-string v7, "WorkspaceThumbHolder for Applist"

    iput-object v7, v6, Lcom/nemustech/tiffany/world/TFPlaceHolder;->mDescription:Ljava/lang/String;

    .line 102
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v6}, Lcom/nemustech/regina/RUtils;->getScreenWidthAvailable(Landroid/content/Context;)I

    move-result v4

    .line 103
    .local v4, screenWidth:I
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v6}, Lcom/nemustech/regina/RUtils;->getScreenHeightAvailable(Landroid/content/Context;)I

    move-result v3

    .line 104
    .local v3, screenHeight:I
    int-to-float v6, v3

    int-to-float v7, v4

    div-float v2, v6, v7

    .line 105
    .local v2, ratio:F
    iput v2, p0, Lcom/nemustech/regina/ElementAppList;->mReflectionOffset:F

    .line 108
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v6, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 109
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v6, v8}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 110
    const-string v6, "ElementAppList"

    const-string v7, "WorkspaceThumbHolder setvisibility(false)"

    invoke-static {v6, v7, v8}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 111
    new-instance v6, Lcom/nemustech/regina/AppListHolder;

    iget v7, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    invoke-direct {v6, v7}, Lcom/nemustech/regina/AppListHolder;-><init>(F)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    .line 112
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v7}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/AppListHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 113
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v6, v8}, Lcom/nemustech/regina/AppListHolder;->setEndlessMode(Z)V

    .line 114
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v6, v8}, Lcom/nemustech/regina/AppListHolder;->setFadingEffect(Z)V

    .line 115
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v6}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v6

    const v7, 0x3f4ccccd

    invoke-virtual {v6, v7}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setInertia(F)V

    .line 116
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v6, v8}, Lcom/nemustech/regina/AppListHolder;->setVisibility(Z)V

    .line 117
    new-instance v6, Lcom/nemustech/regina/AppListProvider;

    invoke-direct {v6, p0}, Lcom/nemustech/regina/AppListProvider;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListProvider:Lcom/nemustech/regina/AppListProvider;

    .line 118
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mEventConsumerList:Ljava/util/LinkedList;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v6, v7}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 120
    new-instance v6, Lcom/nemustech/regina/AppListImageMaker;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-direct {v6, v7, v9, v9}, Lcom/nemustech/regina/AppListImageMaker;-><init>(Lcom/nemustech/regina/ReginaLauncher;II)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListImageMaker:Lcom/nemustech/regina/AppListImageMaker;

    .line 121
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mAppListImageMaker:Lcom/nemustech/regina/AppListImageMaker;

    invoke-virtual {v7}, Lcom/nemustech/regina/AppListImageMaker;->getShortcutWidth()I

    move-result v7

    invoke-static {v6, v7}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v6

    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->mShortCutWidth:F

    .line 122
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mAppListImageMaker:Lcom/nemustech/regina/AppListImageMaker;

    invoke-virtual {v7}, Lcom/nemustech/regina/AppListImageMaker;->getShortcutHeight()I

    move-result v7

    invoke-static {v6, v7}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v6

    iput v6, p0, Lcom/nemustech/regina/ElementAppList;->mShortCutHeight:F

    .line 124
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    const/4 v6, 0x3

    if-ge v0, v6, :cond_0

    .line 125
    new-instance v1, Lcom/nemustech/regina/AppList;

    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-direct {v1, v6, p0, v9, v9}, Lcom/nemustech/regina/AppList;-><init>(Lcom/nemustech/regina/ReginaLauncher;Lcom/nemustech/regina/ElementAppList;II)V

    .line 126
    .local v1, newAppList:Lcom/nemustech/regina/AppList;
    invoke-virtual {v1, v0}, Lcom/nemustech/regina/AppList;->setPageIndex(I)V

    .line 127
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mEventConsumerList:Ljava/util/LinkedList;

    invoke-virtual {v6, v1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 128
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, v6}, Lcom/nemustech/regina/AppList;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 124
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 132
    .end local v1           #newAppList:Lcom/nemustech/regina/AppList;
    :cond_0
    invoke-direct {p0, v8}, Lcom/nemustech/regina/ElementAppList;->setSidePageVisibility(Z)V

    .line 134
    new-instance v6, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-direct {v6, v10}, Lcom/nemustech/tiffany/world/TFPlaceHolder;-><init>(Z)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanelHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    .line 135
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanelHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const-string v7, "Select Panel\'s Holder"

    iput-object v7, v6, Lcom/nemustech/tiffany/world/TFPlaceHolder;->mDescription:Ljava/lang/String;

    .line 136
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanelHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v7}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 138
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mAppListProvider:Lcom/nemustech/regina/AppListProvider;

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/AppListHolder;->setItemProvider(Lcom/nemustech/tiffany/world/TFItemProvider;)V

    .line 139
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v6, v8, v8}, Lcom/nemustech/regina/AppListHolder;->setHeadItemIndex(IZ)V

    .line 140
    new-instance v6, Lcom/nemustech/regina/AppListIndicator;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-direct {v6, v7, v10}, Lcom/nemustech/regina/AppListIndicator;-><init>(Lcom/nemustech/regina/ReginaLauncher;I)V

    iput-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    .line 141
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v6}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v6

    const-string v7, "AppList Indicator\'s Holder"

    iput-object v7, v6, Lcom/nemustech/tiffany/world/TFPlaceHolder;->mDescription:Ljava/lang/String;

    .line 142
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v6}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v6

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v7}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 143
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    const/high16 v7, 0x4334

    invoke-virtual {v6, v8, v7}, Lcom/nemustech/regina/AppListIndicator;->rotateIndicator(IF)V

    .line 144
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v6}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v6

    invoke-virtual {v6, v8}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 145
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mAppListShiftListener:Lcom/nemustech/tiffany/world/TFHolder$OnObjectShiftListener;

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/AppListHolder;->setObjectShiftListener(Lcom/nemustech/tiffany/world/TFHolder$OnObjectShiftListener;)V

    .line 146
    iget-object v6, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaLauncher;->getAppInfoManager()Lcom/nemustech/regina/AppInfoManager;

    move-result-object v6

    iget-object v7, p0, Lcom/nemustech/regina/ElementAppList;->mDataSetObserver:Landroid/database/DataSetObserver;

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/AppInfoManager;->registerDataSetObserver(Landroid/database/DataSetObserver;)V

    .line 147
    return-void
.end method

.method static synthetic access$000(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/AppListIndicator;
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    return-object v0
.end method

.method static synthetic access$100(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/AppListProvider;
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListProvider:Lcom/nemustech/regina/AppListProvider;

    return-object v0
.end method

.method static synthetic access$1000(Lcom/nemustech/regina/ElementAppList;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mLastWarpIndex:I

    return v0
.end method

.method static synthetic access$200(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/AppListHolder;
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    return-object v0
.end method

.method static synthetic access$300(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ElementLocator;
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    return-object v0
.end method

.method static synthetic access$400(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/tiffany/world/TFPlaceHolder;
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    return-object v0
.end method

.method static synthetic access$500(Lcom/nemustech/regina/ElementAppList;Z)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 19
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementAppList;->setSidePageVisibility(Z)V

    return-void
.end method

.method static synthetic access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    return-object v0
.end method

.method static synthetic access$700(Lcom/nemustech/regina/ElementAppList;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 19
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mLongPressedFlag:Z

    return v0
.end method

.method static synthetic access$702(Lcom/nemustech/regina/ElementAppList;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 19
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementAppList;->mLongPressedFlag:Z

    return p1
.end method

.method static synthetic access$802(Lcom/nemustech/regina/ElementAppList;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 19
    iput p1, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    return p1
.end method

.method static synthetic access$902(Lcom/nemustech/regina/ElementAppList;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 19
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementAppList;->mReadyForFullLeaning:Z

    return p1
.end method

.method private prepareWorkspaceThumbholder(I)V
    .locals 16
    .parameter "currentWorkspaceIndex"

    .prologue
    const v15, 0x3f99999a

    const/4 v14, 0x1

    .line 487
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getSlotCount()I

    move-result v7

    .line 488
    .local v7, removeCount:I
    const/4 v5, 0x0

    .local v5, i:I
    :goto_0
    if-ge v5, v7, :cond_1

    .line 490
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v11, v0

    const/4 v12, 0x0

    invoke-virtual {v11, v12}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getModelInSlot(I)Lcom/nemustech/tiffany/world/TFModel;

    move-result-object v6

    .line 491
    .local v6, prevModel:Lcom/nemustech/tiffany/world/TFModel;
    if-eqz v6, :cond_0

    .line 492
    invoke-virtual {v6}, Lcom/nemustech/tiffany/world/TFModel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v11

    invoke-virtual {v6, v11}, Lcom/nemustech/tiffany/world/TFModel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 488
    :cond_0
    add-int/lit8 v5, v5, 0x1

    goto :goto_0

    .line 497
    .end local v6           #prevModel:Lcom/nemustech/tiffany/world/TFModel;
    :cond_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v10

    .line 498
    .local v10, workspaceHolder:Lcom/nemustech/tiffany/world/TFHolder;
    invoke-virtual {v10}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotCount()I

    move-result v8

    .line 499
    .local v8, slotCount:I
    const/4 v5, 0x0

    :goto_1
    if-ge v5, v8, :cond_6

    .line 500
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    move-object v11, v0

    add-int v12, p1, v5

    div-int/lit8 v13, v8, 0x2

    sub-int/2addr v12, v13

    invoke-virtual {v11, v12}, Lcom/nemustech/regina/ElementLocator;->getWorkspace(I)Lcom/nemustech/regina/RGWorkspace;

    move-result-object v9

    .line 502
    .local v9, workspace:Lcom/nemustech/regina/RGWorkspace;
    invoke-virtual {v10}, Lcom/nemustech/tiffany/world/TFHolder;->isEndlessMode()Z

    move-result v11

    if-nez v11, :cond_4

    if-nez p1, :cond_2

    if-eqz v5, :cond_3

    :cond_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceCount()I

    move-result v11

    sub-int/2addr v11, v14

    move/from16 v0, p1

    move v1, v11

    if-ne v0, v1, :cond_4

    sub-int v11, v8, v14

    if-ne v5, v11, :cond_4

    .line 499
    :cond_3
    :goto_2
    add-int/lit8 v5, v5, 0x1

    goto :goto_1

    .line 506
    :cond_4
    invoke-virtual {v9}, Lcom/nemustech/regina/RGWorkspace;->isRequestedUpdate()Z

    move-result v11

    if-eqz v11, :cond_5

    .line 507
    const/high16 v11, 0x3f00

    invoke-virtual {v9, v11}, Lcom/nemustech/regina/RGWorkspace;->updateThumb(F)V

    .line 509
    :cond_5
    :try_start_0
    invoke-virtual {v9}, Lcom/nemustech/regina/RGWorkspace;->getBackgroundThumbPanel()Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v11

    invoke-virtual {v11}, Lcom/nemustech/tiffany/world/TFPanel;->clone()Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Lcom/nemustech/tiffany/world/TFPanel;

    move-object v0, v11

    check-cast v0, Lcom/nemustech/tiffany/world/TFPanel;

    move-object v2, v0

    .line 510
    .local v2, clonedBackgroundThumb:Lcom/nemustech/tiffany/world/TFPanel;
    const/4 v11, 0x1

    invoke-virtual {v2, v11}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 511
    const/high16 v11, 0x3f80

    invoke-virtual {v2, v11}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 513
    invoke-virtual {v9}, Lcom/nemustech/regina/RGWorkspace;->getElementPanel()Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v11

    invoke-virtual {v11}, Lcom/nemustech/tiffany/world/TFPanel;->clone()Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Lcom/nemustech/tiffany/world/TFPanel;

    move-object v0, v11

    check-cast v0, Lcom/nemustech/tiffany/world/TFPanel;

    move-object v3, v0

    .line 514
    .local v3, clonedWorkspaceThumb:Lcom/nemustech/tiffany/world/TFPanel;
    const/4 v11, 0x1

    invoke-virtual {v3, v11}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 515
    const/high16 v11, 0x3f80

    invoke-virtual {v3, v11}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 517
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v11, v0

    invoke-virtual {v2, v11}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 518
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v11, v0

    invoke-virtual {v3, v11}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 519
    div-int/lit8 v11, v8, 0x2

    sub-int v11, v5, v11

    int-to-float v11, v11

    mul-float/2addr v11, v15

    const/4 v12, 0x0

    const/4 v13, 0x0

    invoke-virtual {v2, v11, v12, v13}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 520
    div-int/lit8 v11, v8, 0x2

    sub-int v11, v5, v11

    int-to-float v11, v11

    mul-float/2addr v11, v15

    const/4 v12, 0x0

    const/4 v13, 0x0

    invoke-virtual {v3, v11, v12, v13}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V
    :try_end_0
    .catch Ljava/lang/CloneNotSupportedException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    .line 521
    .end local v2           #clonedBackgroundThumb:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v3           #clonedWorkspaceThumb:Lcom/nemustech/tiffany/world/TFPanel;
    :catch_0
    move-exception v11

    move-object v4, v11

    .line 523
    .local v4, e:Ljava/lang/CloneNotSupportedException;
    invoke-virtual {v4}, Ljava/lang/CloneNotSupportedException;->printStackTrace()V

    goto :goto_2

    .line 527
    .end local v4           #e:Ljava/lang/CloneNotSupportedException;
    .end local v9           #workspace:Lcom/nemustech/regina/RGWorkspace;
    :cond_6
    return-void
.end method

.method private setSidePageVisibility(Z)V
    .locals 6
    .parameter "visible"

    .prologue
    .line 677
    iget-object v3, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    if-eqz v3, :cond_1

    .line 678
    iget-object v3, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v3}, Lcom/nemustech/regina/AppListHolder;->getSlotCount()I

    move-result v2

    .line 679
    .local v2, slotCount:I
    iget-object v3, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v3}, Lcom/nemustech/regina/AppListHolder;->getHeadSlotIndex()I

    move-result v0

    .line 680
    .local v0, headSlotIndex:I
    const/4 v1, 0x0

    .local v1, index:I
    :goto_0
    if-ge v1, v2, :cond_1

    .line 681
    if-eq v1, v0, :cond_0

    .line 682
    iget-object v3, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v3, v1}, Lcom/nemustech/regina/AppListHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v3

    invoke-virtual {v3, p1}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 683
    const-string v3, "ElementAppList"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "slot index "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, " object\'s visibility set "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    const/4 v5, 0x0

    invoke-static {v3, v4, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 680
    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 687
    .end local v0           #headSlotIndex:I
    .end local v1           #index:I
    .end local v2           #slotCount:I
    :cond_1
    return-void
.end method


# virtual methods
.method public animateToAppList()V
    .locals 9

    .prologue
    .line 332
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    if-nez v0, :cond_1

    .line 333
    const-string v0, "ElementAppList"

    const-string v1, "------Animating to AppList----------"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 334
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->setTouchable(Z)V

    .line 335
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    invoke-virtual {v0}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v8

    check-cast v8, Lcom/nemustech/regina/RGWorkspaceHolder;

    .line 336
    .local v8, workspaceHolder:Lcom/nemustech/regina/RGWorkspaceHolder;
    invoke-virtual {v8}, Lcom/nemustech/regina/RGWorkspaceHolder;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->lock()V

    .line 337
    invoke-virtual {v8}, Lcom/nemustech/regina/RGWorkspaceHolder;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    const/high16 v1, -0x4100

    const/high16 v2, -0x3f40

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->spreadFog(FF)V

    .line 338
    const-string v0, "ElementAppList"

    const-string v1, "world locked"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 340
    const/4 v0, 0x1

    iput v0, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    .line 341
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 343
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->repositionAppList()V

    .line 345
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/high16 v3, 0x4040

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/regina/AppListHolder;->locate(FFF)V

    .line 346
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/high16 v1, 0x3f00

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/AppListHolder;->setOpacity(F)V

    .line 347
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/AppListHolder;->setVisibility(Z)V

    .line 349
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getHeadSlotIndex()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/AppListHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v7

    check-cast v7, Lcom/nemustech/tiffany/world/TFPanel;

    .line 350
    .local v7, frontPanel:Lcom/nemustech/tiffany/world/TFPanel;
    const/4 v0, 0x1

    invoke-virtual {v7, v0}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 352
    const/4 v0, 0x3

    new-array v6, v0, [F

    fill-array-data v6, :array_0

    .line 353
    .local v6, appListOldLocation:[F
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation([F)V

    .line 354
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    const/4 v1, 0x0

    aget v1, v6, v1

    const/4 v2, 0x1

    aget v2, v6, v2

    const/high16 v3, 0x4040

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 355
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    const/high16 v1, 0x3f00

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setOpacity(F)V

    .line 356
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 358
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/high16 v1, 0x3f80

    const-wide/16 v2, 0x190

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/regina/AppListHolder;->fade(FJ)V

    .line 359
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const-wide/16 v4, 0x190

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/regina/AppListHolder;->move(FFFJ)V

    .line 360
    const-string v0, "ElementAppList"

    const-string v1, "moving back AppListHolder"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 362
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    const/high16 v1, 0x3f80

    const-wide/16 v2, 0x190

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->fade(FJ)V

    .line 363
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    const/4 v1, 0x0

    aget v1, v6, v1

    const/4 v2, 0x1

    aget v2, v6, v2

    const/4 v3, 0x0

    const-wide/16 v4, 0x190

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFJ)V

    .line 364
    const-string v0, "ElementAppList"

    const-string v1, "moving back AppListIndicator"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 366
    const/4 v0, 0x1

    invoke-virtual {v8, v0}, Lcom/nemustech/regina/RGWorkspaceHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    check-cast v0, Lcom/nemustech/regina/RGWorkspace;

    invoke-virtual {v0}, Lcom/nemustech/regina/RGWorkspace;->getWorkspaceView()Lcom/nemustech/regina/WorkspaceView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/WorkspaceView;->dispatchDisplayVisibility(Z)V

    .line 367
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ReginaLauncher;->setForegroundVisibility(ZZ)V

    .line 369
    invoke-virtual {v8}, Lcom/nemustech/regina/RGWorkspaceHolder;->getCurrentWorkspaceIndex()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/nemustech/regina/ElementAppList;->prepareWorkspaceThumbholder(I)V

    .line 371
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 372
    const-string v0, "ElementAppList"

    const-string v1, "WorkspaceThumbHolder setvisibility(true)"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 374
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/high16 v1, 0x3f80

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setOpacity(F)V

    .line 376
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/high16 v3, -0x3f80

    const-wide/16 v4, 0xc8

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFJ)V

    .line 377
    const-string v0, "ElementAppList"

    const-string v1, "moving back WorkspaceThumb"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 379
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mAddReflectingFloor:Z

    if-eqz v0, :cond_0

    .line 380
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mReflectionOffset:F

    neg-float v1, v1

    const/high16 v2, 0x4000

    div-float/2addr v1, v2

    const v2, 0x3dcccccd

    sub-float/2addr v1, v2

    const v2, 0x3f4ccccd

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->addReflectingFloor(FF)V

    .line 383
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    new-instance v1, Lcom/nemustech/regina/ElementAppList$3;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementAppList$3;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/AppListHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 401
    .end local v6           #appListOldLocation:[F
    .end local v7           #frontPanel:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v8           #workspaceHolder:Lcom/nemustech/regina/RGWorkspaceHolder;
    :cond_1
    return-void

    .line 352
    nop

    :array_0
    .array-data 0x4
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
    .end array-data
.end method

.method public canBeRepositioned()Z
    .locals 1

    .prologue
    .line 547
    const/4 v0, 0x1

    return v0
.end method

.method public createSelectedPanel(Lcom/nemustech/regina/AppInfo;I)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 4
    .parameter "appInfo"
    .parameter "mode"

    .prologue
    const/4 v3, 0x0

    .line 154
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->destroySelectedPanel()V

    .line 156
    new-instance v0, Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mShortCutWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mShortCutHeight:F

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 157
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const-string v1, "Select Panel"

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 158
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 159
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setTouchable(Z)V

    .line 160
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListImageMaker:Lcom/nemustech/regina/AppListImageMaker;

    invoke-virtual {v1, p1, p2}, Lcom/nemustech/regina/AppListImageMaker;->getAppIcon(Lcom/nemustech/regina/AppInfo;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 161
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanelHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 162
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public createShortcutFromAppList(FF)Lcom/nemustech/regina/Element;
    .locals 17
    .parameter "touchX"
    .parameter "touchY"

    .prologue
    const/16 v16, 0x0

    const/4 v12, 0x2

    const/4 v15, 0x0

    const/4 v14, 0x1

    const/4 v13, 0x0

    .line 738
    invoke-virtual/range {p0 .. p0}, Lcom/nemustech/regina/ElementAppList;->destroySelectedPanel()V

    .line 739
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/regina/AppListHolder;->getHeadModel()Lcom/nemustech/tiffany/world/TFModel;

    move-result-object v4

    check-cast v4, Lcom/nemustech/regina/AppList;

    .line 740
    .local v4, appList:Lcom/nemustech/regina/AppList;
    move-object v0, v4

    move/from16 v1, p1

    move/from16 v2, p2

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/AppList;->getSelectedAppIntent(FF)Landroid/content/Intent;

    move-result-object v10

    .line 741
    .local v10, shortCutIntent:Landroid/content/Intent;
    if-eqz v10, :cond_1

    .line 742
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mElementMaker:Lcom/nemustech/regina/ElementMaker;

    move-object v11, v0

    invoke-virtual {v11, v10, v13}, Lcom/nemustech/regina/ElementMaker;->createShortcut(Landroid/content/Intent;Z)Lcom/nemustech/regina/Element;

    move-result-object v9

    .line 743
    .local v9, shortCut:Lcom/nemustech/regina/Element;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/regina/ElementLocator;->getCurrentWorkspace()Lcom/nemustech/regina/RGWorkspace;

    move-result-object v11

    invoke-virtual {v9, v11}, Lcom/nemustech/regina/Element;->setWorkspace(Lcom/nemustech/regina/RGWorkspace;)V

    .line 744
    move-object v0, v9

    check-cast v0, Lcom/nemustech/regina/ElementShortcut;

    move-object v11, v0

    invoke-virtual {v11, v14}, Lcom/nemustech/regina/ElementShortcut;->setDetachAppList(Z)V

    .line 745
    new-array v8, v12, [F

    .line 746
    .local v8, position:[F
    new-array v6, v12, [F

    .line 747
    .local v6, locations:[F
    move-object v0, v4

    move-object v1, v6

    move/from16 v2, p1

    move/from16 v3, p2

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/regina/AppList;->getNearestAppLocation([FFF)[F

    .line 748
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    move-object v11, v0

    move-object v0, v11

    move-object v1, v9

    move-object v2, v8

    move-object/from16 v3, v16

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/regina/ElementLocator;->getPossibleLocation(Lcom/nemustech/regina/Element;[FLcom/nemustech/regina/RGWorkspace;)Z

    move-result v11

    if-eqz v11, :cond_0

    .line 749
    aget v11, v8, v13

    aget v12, v8, v14

    invoke-virtual {v9, v11, v12, v15}, Lcom/nemustech/regina/Element;->setInitPos(FFF)V

    .line 751
    aget v11, v6, v13

    aget v12, v6, v14

    invoke-virtual {v9, v11, v12, v15}, Lcom/nemustech/regina/Element;->locate(FFF)V

    .line 752
    invoke-virtual {v9}, Lcom/nemustech/regina/Element;->getObject()Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v5

    check-cast v5, Lcom/nemustech/tiffany/world/TFPanel;

    .line 753
    .local v5, elementPanel:Lcom/nemustech/tiffany/world/TFPanel;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v11

    invoke-virtual {v5, v11}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 754
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v11, v0

    invoke-virtual {v11, v9}, Lcom/nemustech/regina/ReginaLauncher;->addElementToDatabase(Lcom/nemustech/regina/Element;)V

    :goto_0
    move-object v11, v9

    .line 769
    .end local v5           #elementPanel:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v6           #locations:[F
    .end local v8           #position:[F
    .end local v9           #shortCut:Lcom/nemustech/regina/Element;
    :goto_1
    return-object v11

    .line 757
    .restart local v6       #locations:[F
    .restart local v8       #position:[F
    .restart local v9       #shortCut:Lcom/nemustech/regina/Element;
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v11, v0

    invoke-static {v11}, Lcom/nemustech/regina/ResourceCare;->getResourceCare(Landroid/content/Context;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v11

    const v12, 0x7f070005

    invoke-virtual {v11, v12}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v7

    .line 758
    .local v7, msg:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v11, v0

    invoke-static {v11, v7}, Lcom/nemustech/regina/RUtils;->showToast(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/Toast;

    .line 759
    invoke-virtual {v9, v14}, Lcom/nemustech/regina/Element;->setFailedArrange(Z)V

    .line 761
    aget v11, v6, v13

    aget v12, v6, v14

    invoke-virtual {v9, v11, v12, v15}, Lcom/nemustech/regina/Element;->locate(FFF)V

    .line 762
    invoke-virtual {v9}, Lcom/nemustech/regina/Element;->getObject()Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v5

    check-cast v5, Lcom/nemustech/tiffany/world/TFPanel;

    .line 763
    .restart local v5       #elementPanel:Lcom/nemustech/tiffany/world/TFPanel;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v11, v0

    invoke-virtual {v11}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v11

    invoke-virtual {v5, v11}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    goto :goto_0

    .line 768
    .end local v5           #elementPanel:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v6           #locations:[F
    .end local v7           #msg:Ljava/lang/String;
    .end local v8           #position:[F
    .end local v9           #shortCut:Lcom/nemustech/regina/Element;
    :cond_1
    const-string v11, "ElementAppList"

    const-string v12, "LastSelectedAppIntent is null"

    invoke-static {v11, v12, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    move-object/from16 v11, v16

    .line 769
    goto :goto_1
.end method

.method public destroySelectedPanel()V
    .locals 2

    .prologue
    .line 166
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 167
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 168
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mSelectedPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 170
    :cond_0
    return-void
.end method

.method public getAppCount()I
    .locals 3

    .prologue
    .line 215
    const/4 v0, 0x0

    .line 216
    .local v0, appCount:I
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getAppInfoManager()Lcom/nemustech/regina/AppInfoManager;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/AppInfoManager;->isBitmapLoaded()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 217
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getAppInfoManager()Lcom/nemustech/regina/AppInfoManager;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/AppInfoManager;->getAppInfo()Ljava/util/List;

    move-result-object v1

    .line 218
    .local v1, appInfos:Ljava/util/List;,"Ljava/util/List<Lcom/nemustech/regina/AppInfo;>;"
    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    .line 219
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v0

    .line 224
    .end local v1           #appInfos:Ljava/util/List;,"Ljava/util/List<Lcom/nemustech/regina/AppInfo;>;"
    :cond_0
    :goto_0
    return v0

    .line 222
    :cond_1
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getAppInfoManager()Lcom/nemustech/regina/AppInfoManager;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/AppInfoManager;->getBitmapCachedCount()I

    move-result v0

    goto :goto_0
.end method

.method public getAppInfos()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lcom/nemustech/regina/AppInfo;",
            ">;"
        }
    .end annotation

    .prologue
    .line 177
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getAppInfoManager()Lcom/nemustech/regina/AppInfoManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/AppInfoManager;->getAppInfo()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public getAppListImageMaker()Lcom/nemustech/regina/AppListImageMaker;
    .locals 1

    .prologue
    .line 211
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListImageMaker:Lcom/nemustech/regina/AppListImageMaker;

    return-object v0
.end method

.method public getAppListIndicator()Lcom/nemustech/regina/AppListIndicator;
    .locals 1

    .prologue
    .line 173
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    return-object v0
.end method

.method public getAppPageCount()I
    .locals 3

    .prologue
    .line 228
    const/4 v0, 0x1

    .line 229
    .local v0, pageCount:I
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->getAppCount()I

    move-result v1

    .line 231
    .local v1, totalSize:I
    div-int/lit8 v0, v1, 0x10

    .line 232
    rem-int/lit8 v2, v1, 0x10

    if-lez v2, :cond_0

    .line 233
    add-int/lit8 v0, v0, 0x1

    .line 234
    :cond_0
    return v0
.end method

.method public getCurrentAppListIndex()I
    .locals 1

    .prologue
    .line 542
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListHolder;->getHeadItemIndex()I

    move-result v0

    return v0
.end method

.method public getInternalObject()Lcom/nemustech/tiffany/world/TFObject;
    .locals 1

    .prologue
    .line 780
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    return-object v0
.end method

.method public getSnapShot()Landroid/graphics/Bitmap;
    .locals 1

    .prologue
    .line 795
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSnapShot(I)Landroid/graphics/Bitmap;
    .locals 1
    .parameter "faceIndex"

    .prologue
    .line 815
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSnapShotOpposite()Landroid/graphics/Bitmap;
    .locals 1

    .prologue
    .line 808
    const/4 v0, 0x0

    return-object v0
.end method

.method public isInAppList()Z
    .locals 2

    .prologue
    .line 246
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    .line 247
    :cond_0
    const/4 v0, 0x0

    .line 249
    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x1

    goto :goto_0
.end method

.method protected isObjectEventConsumer(Lcom/nemustech/tiffany/world/TFObject;)Z
    .locals 1
    .parameter "object"

    .prologue
    .line 790
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mEventConsumerList:Ljava/util/LinkedList;

    invoke-virtual {v0, p1}, Ljava/util/LinkedList;->contains(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method public isOwnerOf(Lcom/nemustech/tiffany/world/TFObject;)Z
    .locals 1
    .parameter "object"

    .prologue
    .line 785
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0, p1}, Lcom/nemustech/regina/AppListHolder;->searchForChildObject(Lcom/nemustech/tiffany/world/TFObject;)Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public isRequestClose()Z
    .locals 1

    .prologue
    .line 238
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mIsRequestClose:Z

    return v0
.end method

.method protected onPause()V
    .locals 0

    .prologue
    .line 775
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->destroySelectedPanel()V

    .line 776
    return-void
.end method

.method public repositionAppList()V
    .locals 6

    .prologue
    const/16 v5, 0xc8

    const/high16 v4, 0x4348

    const/4 v3, 0x0

    .line 661
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getLockStatus()Z

    move-result v1

    if-nez v1, :cond_0

    .line 662
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->reset()V

    .line 664
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    const/high16 v2, 0x4000

    div-float/2addr v1, v2

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    cmpg-float v1, v1, v2

    if-gtz v1, :cond_2

    .line 666
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    cmpl-float v1, v1, v3

    if-lez v1, :cond_1

    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    sub-float/2addr v1, v2

    move v0, v1

    .line 667
    .local v0, toMove:F
    :goto_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    div-float v2, v0, v4

    invoke-virtual {v1, v2, v5}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->startMoveAnimation(FI)V

    .line 672
    .end local v0           #toMove:F
    :goto_1
    iput v3, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    .line 674
    :cond_0
    return-void

    .line 666
    :cond_1
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    add-float/2addr v1, v2

    neg-float v1, v1

    move v0, v1

    goto :goto_0

    .line 670
    :cond_2
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    neg-float v2, v2

    div-float/2addr v2, v4

    invoke-virtual {v1, v2, v5}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->startMoveAnimation(FI)V

    goto :goto_1
.end method

.method public requestClose()V
    .locals 1

    .prologue
    .line 242
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mIsRequestClose:Z

    .line 243
    return-void
.end method

.method public returnToOriginAngle(Z)V
    .locals 7
    .parameter "animation"

    .prologue
    const-wide/16 v3, 0x3e8

    const/4 v5, 0x2

    const/4 v1, 0x0

    .line 581
    iput v1, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    .line 583
    if-eqz p1, :cond_0

    .line 584
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mReadyForFullLeaning:Z

    .line 585
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    move v2, v1

    move v6, v5

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/regina/AppListHolder;->rotate(FFJII)V

    .line 586
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    new-instance v2, Lcom/nemustech/regina/ElementAppList$5;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/ElementAppList$5;-><init>(Lcom/nemustech/regina/ElementAppList;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/AppListHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 594
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move v2, v1

    move v6, v5

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->rotate(FFJII)V

    .line 601
    :goto_0
    return-void

    .line 596
    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mReadyForFullLeaning:Z

    .line 598
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0, v1, v1}, Lcom/nemustech/regina/AppListHolder;->look(FF)V

    .line 599
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->look(FF)V

    goto :goto_0
.end method

.method public returnToWorkspace()V
    .locals 7

    .prologue
    const-wide/16 v4, 0xc8

    const/4 v1, 0x0

    const/4 v6, 0x0

    .line 253
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    const/4 v2, 0x1

    if-ne v0, v2, :cond_1

    .line 254
    const-string v0, "ElementAppList"

    const-string v2, "------------Returning to Workspace-----------------"

    invoke-static {v0, v2, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 255
    const/4 v0, 0x2

    iput v0, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    .line 256
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListHolder;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->lock()V

    .line 257
    const-string v0, "ElementAppList"

    const-string v2, "world locked"

    invoke-static {v0, v2, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 259
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/regina/AppListHolder;->fade(FJ)V

    .line 260
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/high16 v3, 0x4040

    move v2, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/regina/AppListHolder;->move(FFFJ)V

    .line 261
    const-string v0, "ElementAppList"

    const-string v2, "moving forward AppListHolder"

    invoke-static {v0, v2, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 263
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 264
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const v3, -0x42333333

    const-wide/16 v4, 0xfa

    move v2, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFJ)V

    .line 265
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getReginaPref()Lcom/nemustech/regina/ReginaPreference;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaPreference;->isAppListScrollEffectOn()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 266
    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementAppList;->returnToOriginAngle(Z)V

    .line 268
    :cond_0
    const-string v0, "ElementAppList"

    const-string v1, "moving forward WorkspaceThumb"

    invoke-static {v0, v1, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 270
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReturnToWorkspaceFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 272
    :cond_1
    return-void
.end method

.method public returnToWorkspaceWithoutAnimation()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 446
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    if-ne v1, v4, :cond_2

    .line 447
    const-string v1, "ElementAppList"

    const-string v2, "------------Returning to Workspace Without Animation-----------------"

    invoke-static {v1, v2, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 448
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mElementLocator:Lcom/nemustech/regina/ElementLocator;

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    .line 450
    .local v0, workspaceHolder:Lcom/nemustech/tiffany/world/TFHolder;
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 451
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->reset()V

    .line 453
    :cond_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFHolder$MoveAnimation;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 454
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFHolder$MoveAnimation;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFHolder$MoveAnimation;->reset()V

    .line 456
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/high16 v2, 0x4040

    invoke-virtual {v1, v5, v5, v2}, Lcom/nemustech/regina/AppListHolder;->locate(FFF)V

    .line 457
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 459
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v1, v5, v5, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 460
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ReginaLauncher;->setTouchable(Z)V

    .line 461
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    const/4 v2, 0x0

    invoke-virtual {v1, v4, v2}, Lcom/nemustech/regina/ReginaLauncher;->set2DViewVisibility(ZLjava/lang/Runnable;)V

    .line 463
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, v3}, Lcom/nemustech/regina/AppListHolder;->setVisibility(Z)V

    .line 464
    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFHolder;->setVisibility(Z)V

    .line 465
    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v1

    check-cast v1, Lcom/nemustech/regina/RGWorkspace;

    invoke-virtual {v1}, Lcom/nemustech/regina/RGWorkspace;->getWorkspaceView()Lcom/nemustech/regina/WorkspaceView;

    move-result-object v1

    invoke-virtual {v1, v4}, Lcom/nemustech/regina/WorkspaceView;->dispatchDisplayVisibility(Z)V

    .line 467
    invoke-direct {p0, v3}, Lcom/nemustech/regina/ElementAppList;->setSidePageVisibility(Z)V

    .line 468
    const-string v1, "ElementAppList"

    const-string v2, "Left/right side panel setvisibility(false)"

    invoke-static {v1, v2, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 470
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v1, v3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 472
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFWorld;->removeReflectingFloor()V

    .line 473
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFWorld;->clearFog()V

    .line 475
    iput v3, p0, Lcom/nemustech/regina/ElementAppList;->mAnimationState:I

    .line 476
    iput-boolean v3, p0, Lcom/nemustech/regina/ElementAppList;->mIsRequestClose:Z

    .line 477
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1, v3}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 478
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaLauncher;->getWorkspaceControlBtn()Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandAppsPanelImg(I)V

    .line 480
    const-string v1, "ElementAppList"

    const-string v2, "------------Returning to Workspace Without Animation END-----------------"

    invoke-static {v1, v2, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 482
    .end local v0           #workspaceHolder:Lcom/nemustech/tiffany/world/TFHolder;
    :cond_2
    return-void
.end method

.method public rotateHolderAngle(F)V
    .locals 12
    .parameter "scrolledAmount"

    .prologue
    const v11, 0x3fc90fdb

    const/4 v2, 0x0

    const v10, -0x4036f025

    const/4 v5, 0x2

    .line 552
    float-to-double v6, p1

    const-wide v8, 0x400921fb54442d18L

    mul-double/2addr v6, v8

    double-to-float p1, v6

    .line 560
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    add-float/2addr v0, p1

    iput v0, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    .line 561
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    cmpl-float v0, v0, v11

    if-lez v0, :cond_1

    .line 562
    iput v11, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    .line 567
    :cond_0
    :goto_0
    const-wide/16 v3, 0x64

    .line 568
    .local v3, duration:J
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementAppList;->mReadyForFullLeaning:Z

    if-eqz v0, :cond_2

    const/high16 v0, 0x4220

    :goto_1
    float-to-double v6, v0

    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    float-to-double v8, v0

    invoke-static {v8, v9}, Ljava/lang/Math;->sin(D)D

    move-result-wide v8

    mul-double/2addr v6, v8

    double-to-float v1, v6

    .line 569
    .local v1, angle:F
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    move v6, v5

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/regina/AppListHolder;->rotate(FFJII)V

    .line 570
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    const/4 v6, 0x0

    invoke-virtual {v0, v6}, Lcom/nemustech/regina/AppListHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 572
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mWorkspaceThumbHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move v6, v5

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->rotate(FFJII)V

    .line 578
    return-void

    .line 563
    .end local v1           #angle:F
    .end local v3           #duration:J
    :cond_1
    iget v0, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    cmpg-float v0, v0, v10

    if-gez v0, :cond_0

    .line 564
    iput v10, p0, Lcom/nemustech/regina/ElementAppList;->mAccumulatedScrolledAmount:F

    goto :goto_0

    .line 568
    .restart local v3       #duration:J
    :cond_2
    const/high16 v0, 0x41c8

    goto :goto_1
.end method

.method public scrollAppList(F)V
    .locals 3
    .parameter "scrollValue"

    .prologue
    .line 604
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v2}, Lcom/nemustech/regina/AppListHolder;->getLockStatus()Z

    move-result v2

    if-nez v2, :cond_0

    .line 605
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->destroySelectedPanel()V

    .line 606
    neg-float v2, p1

    float-to-int v0, v2

    .line 607
    .local v0, scrollPixel:I
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v0}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v1

    .line 608
    .local v1, scrollTFUnit:F
    iput v1, p0, Lcom/nemustech/regina/ElementAppList;->mLastScrolled:F

    .line 609
    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    add-float/2addr v2, v1

    iput v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    .line 610
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v2}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->reset()V

    .line 611
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v2, v1}, Lcom/nemustech/regina/AppListHolder;->moveHeadModelStep(F)Z

    .line 613
    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getReginaPref()Lcom/nemustech/regina/ReginaPreference;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaPreference;->isAppListScrollEffectOn()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 614
    invoke-virtual {p0, v1}, Lcom/nemustech/regina/ElementAppList;->rotateHolderAngle(F)V

    .line 617
    .end local v0           #scrollPixel:I
    .end local v1           #scrollTFUnit:F
    :cond_0
    return-void
.end method

.method public scrollAppList(IILcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V
    .locals 1
    .parameter "appListIndex"
    .parameter "duration"
    .parameter "animationListener"

    .prologue
    .line 652
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListHolder;->getLockStatus()Z

    move-result v0

    if-nez v0, :cond_0

    .line 653
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->destroySelectedPanel()V

    .line 654
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->reset()V

    .line 655
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v0

    invoke-virtual {v0, p3}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setAnimationEventListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 656
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0, p1, p2}, Lcom/nemustech/regina/AppListHolder;->setHeadItemIndex(II)V

    .line 658
    :cond_0
    return-void
.end method

.method public scrollAppList(ILcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V
    .locals 5
    .parameter "appListIndex"
    .parameter "animationListener"

    .prologue
    const/16 v4, 0xc8

    const/4 v3, 0x0

    .line 621
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getLockStatus()Z

    move-result v1

    if-nez v1, :cond_6

    .line 622
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->destroySelectedPanel()V

    .line 623
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->reset()V

    .line 624
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    invoke-virtual {v1, p2}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setAnimationEventListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 626
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    cmpg-float v1, v3, v1

    if-gez v1, :cond_5

    .line 628
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    cmpl-float v1, v1, v3

    if-lez v1, :cond_2

    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    sub-float/2addr v1, v2

    move v0, v1

    .line 629
    .local v0, toMove:F
    :goto_0
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mLastScrolled:F

    cmpl-float v1, v1, v3

    if-lez v1, :cond_3

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v1

    move v0, v1

    .line 631
    :goto_1
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->getCurrentAppListIndex()I

    move-result v1

    sub-int/2addr v1, p1

    if-gez v1, :cond_0

    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    cmpl-float v1, v1, v3

    if-gtz v1, :cond_1

    :cond_0
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->getCurrentAppListIndex()I

    move-result v1

    sub-int/2addr v1, p1

    if-lez v1, :cond_4

    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    cmpg-float v1, v1, v3

    if-gez v1, :cond_4

    .line 634
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    const/high16 v2, 0x4348

    div-float v2, v0, v2

    invoke-virtual {v1, v2, v4}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->startMoveAnimation(FI)V

    .line 645
    .end local v0           #toMove:F
    :goto_2
    iput v3, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    .line 649
    :goto_3
    return-void

    .line 628
    :cond_2
    iget v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementAppList;->mTotalTFUnitScrolled:F

    add-float/2addr v1, v2

    neg-float v1, v1

    move v0, v1

    goto :goto_0

    .line 629
    .restart local v0       #toMove:F
    :cond_3
    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v1

    neg-float v1, v1

    move v0, v1

    goto :goto_1

    .line 637
    :cond_4
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->repositionAppList()V

    goto :goto_2

    .line 641
    .end local v0           #toMove:F
    :cond_5
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, p1, v4}, Lcom/nemustech/regina/AppListHolder;->setHeadItemIndex(II)V

    .line 643
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementAppList;->repositionAppList()V

    goto :goto_2

    .line 647
    :cond_6
    const-string v1, "dwkim"

    const-string v2, "applist is locked"

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_3
.end method

.method public setIgnoreMovementOnSelect(Z)V
    .locals 1
    .parameter "ignore"

    .prologue
    .line 150
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v0, p1}, Lcom/nemustech/regina/AppListHolder;->setIgnoreMovementOnSelect(Z)V

    .line 151
    return-void
.end method

.method public setLongPressedFlag(Z)V
    .locals 0
    .parameter "flag"

    .prologue
    .line 803
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementAppList;->mLongPressedFlag:Z

    .line 804
    return-void
.end method

.method public setReflectingFloor(Z)V
    .locals 0
    .parameter "set"

    .prologue
    .line 799
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementAppList;->mAddReflectingFloor:Z

    .line 800
    return-void
.end method

.method public warpPage(I)V
    .locals 7
    .parameter "pageIndex"

    .prologue
    const/16 v6, 0xc8

    const/4 v5, 0x2

    const/4 v4, 0x0

    const/4 v3, 0x0

    .line 693
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getHeadItemIndex()I

    move-result v1

    sub-int v1, p1, v1

    invoke-static {v1}, Ljava/lang/Integer;->signum(I)I

    move-result v0

    .line 695
    .local v0, direction:I
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getHeadItemIndex()I

    move-result v1

    if-ne p1, v1, :cond_0

    .line 718
    :goto_0
    return-void

    .line 698
    :cond_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getHeadItemIndex()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    if-eq p1, v1, :cond_1

    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getHeadItemIndex()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    if-ne p1, v1, :cond_2

    .line 701
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, p1, v6}, Lcom/nemustech/regina/AppListHolder;->setHeadItemIndex(II)V

    goto :goto_0

    .line 704
    :cond_2
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->lock()V

    .line 705
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListIndicator:Lcom/nemustech/regina/AppListIndicator;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListIndicator;->getHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->lock()V

    .line 706
    if-lez v0, :cond_3

    .line 707
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, v5}, Lcom/nemustech/regina/AppListHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v1

    invoke-virtual {v1, p1}, Lcom/nemustech/tiffany/world/TFObject;->setItemIndex(I)V

    .line 708
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, v5}, Lcom/nemustech/regina/AppListHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v1

    check-cast v1, Lcom/nemustech/tiffany/world/TFModel;

    invoke-virtual {v1, v3, v4, v4}, Lcom/nemustech/tiffany/world/TFModel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 713
    :goto_1
    iput p1, p0, Lcom/nemustech/regina/ElementAppList;->mLastWarpIndex:I

    .line 714
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->reset()V

    .line 715
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementAppList;->mWarpListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setAnimationEventListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 716
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1}, Lcom/nemustech/regina/AppListHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v1

    int-to-float v2, v0

    iget v3, p0, Lcom/nemustech/regina/ElementAppList;->mAppListWidth:F

    mul-float/2addr v2, v3

    const/high16 v3, 0x4348

    div-float/2addr v2, v3

    invoke-virtual {v1, v2, v6}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->startMoveAnimation(FI)V

    goto :goto_0

    .line 710
    :cond_3
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, v3}, Lcom/nemustech/regina/AppListHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v1

    invoke-virtual {v1, p1}, Lcom/nemustech/tiffany/world/TFObject;->setItemIndex(I)V

    .line 711
    iget-object v1, p0, Lcom/nemustech/regina/ElementAppList;->mAppListHolder:Lcom/nemustech/regina/AppListHolder;

    invoke-virtual {v1, v3}, Lcom/nemustech/regina/AppListHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v1

    check-cast v1, Lcom/nemustech/tiffany/world/TFModel;

    invoke-virtual {v1, v3, v4, v4}, Lcom/nemustech/tiffany/world/TFModel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    goto :goto_1
.end method
